Skip to content

Make TcfEuV2's IsServiceSpecific not a condition for encoding Vendors…#93

Open
shawjef3 wants to merge 2 commits intoIABTechLab:masterfrom
shawjef3:tcfeuv2-encoding
Open

Make TcfEuV2's IsServiceSpecific not a condition for encoding Vendors…#93
shawjef3 wants to merge 2 commits intoIABTechLab:masterfrom
shawjef3:tcfeuv2-encoding

Conversation

@shawjef3
Copy link

…Allowed or VendorsDisclosed.

TcfEuV2#encodeSection() now uses the same criteria as iabtcf-java's TCStringEncoder to determine if a segment should be encoded.

TCF 2.3 makes VendorsDisclosed required, and so its encoding should not be conditional on IsServiceSpecific.

I made additional changes to reduce the amount of whitespace.

TcfEuV2#encodeSection() no longer creates an intermediate collection.

…Allowed or VendorsDisclosed.

TcfEuV2#encodeSection() now uses the same criteria as iabtcf-java's TCStringEncoder to determine
if a segment should be encoded.

TCF 2.3 makes VendorsDisclosed required, and so its encoding should not be conditional on
IsServiceSpecific.

I made additional changes to reduce the amount of whitespace.

TcfEuV2#encodeSection() no longer creates an intermediate collection.
@shawjef3
Copy link
Author

This is for #83.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant